package cn.chint.manage.dao;



import java.util.List;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import cn.chint.bo.MsgEnterPages;
import cn.chint.bo.MsgEnterTempbo;
import cn.chint.po.MsgEnter;
import cn.chint.po.NoticeUser;


@Transactional(readOnly = false, propagation = Propagation.REQUIRES_NEW)
public interface MsgenterDao { 

	public void savemsg(MsgEnter m);
	
	
	public MsgEnterPages find_msg_enter(int page, int size);
	public MsgEnterPages find_msg_enter_by_name(int page, int size, String channelUser);
	public MsgEnter updatetrial(long id, String trial);
	public MsgEnter updatereview(long id, String review);
	
	public MsgEnterTempbo getMsgEnter(long id);
	
	
	public void Update(String money, long id);//鼠标移出时  数据库更改
	
	public List<MsgEnter> Select(String provid, String cityid);//根据省市查询出项目名称
//	public void trial_upload(String id);
	
	public NoticeUser  findNoticeUser(String type);//项目提交，查找需要通知的运营用户
	
	public MsgEnter reject_pass(final long id, final String reject_reason, final String review);
	
	public void UpdPseudo(long id, long pseudo);//根据id修改pesduo字段为0实现伪删除
	
	//public MsgEnter getMsgEnter(Long id);
}
